package org.project.task.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.project.task.entity.User;
import org.project.task.service.UserService;
import org.project.task.mapper.UserMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
* @author Zheng
* @description 针对表【user(用户信息表)】的数据库操作Service实现
* @createDate 2024-12-23 11:35:32
*/
@Service
public class UserServiceImpl extends ServiceImpl<UserMapper, User>
    implements UserService{

    @Autowired
    private UserMapper userMapper;

    @Override
    public User login(String username, String encryptedPassword) {
        return userMapper.login(username, encryptedPassword);
    }
}




